﻿namespace ClientTools.Library
{
    public class ProviderBase
    {
        public string ConnectionString { get; set; }

        public ProviderBase(string connectionString)
        {
            ConnectionString = connectionString;
        }

        protected System.Data.SqlClient.SqlConnection GetConnection()
        {
            var con = new System.Data.SqlClient.SqlConnection(ConnectionString);
            con.Open();
            return con;
        }

    }
}
